package com.swotplus.system.weixin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hugang
 * @since 2020-06-04
 */
@TableName("wxcms_media_files")
public class WxcmsMediaFiles implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 媒体类型
     */
	private String mediaType;
    /**
     * 标题
     */
	private String title;
    /**
     * 简介说明
     */
	private String introduction;
    /**
     * 标签_逻辑分类
     */
	private String logicClass;
    /**
     * 返回的media_id
     */
	private String mediaId;
    /**
     * 返回的wx服务器url
     */
	private String uploadUrl;
    /**
     * 备注_预留
     */
	private String rmk;
    /**
     * 创建时间
     */
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;
    /**
     * 更新时间
     */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;
    /**
     * 微信号
     */
	private String account;
    /**
     * 关联base表
     */
	private Integer baseId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMediaType() {
		return mediaType;
	}

	public void setMediaType(String mediaType) {
		this.mediaType = mediaType;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getLogicClass() {
		return logicClass;
	}

	public void setLogicClass(String logicClass) {
		this.logicClass = logicClass;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getUploadUrl() {
		return uploadUrl;
	}

	public void setUploadUrl(String uploadUrl) {
		this.uploadUrl = uploadUrl;
	}

	public String getRmk() {
		return rmk;
	}

	public void setRmk(String rmk) {
		this.rmk = rmk;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public LocalDateTime getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Integer getBaseId() {
		return baseId;
	}

	public void setBaseId(Integer baseId) {
		this.baseId = baseId;
	}

	@Override
	public String toString() {
		return "WxcmsMediaFiles{" +
			", id=" + id +
			", mediaType=" + mediaType +
			", title=" + title +
			", introduction=" + introduction +
			", logicClass=" + logicClass +
			", mediaId=" + mediaId +
			", uploadUrl=" + uploadUrl +
			", rmk=" + rmk +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			", account=" + account +
			", baseId=" + baseId +
			"}";
	}
}
